onBackStackChangeCommitted

Called whenever the contents of a back stack change is committed. If this is caused by a forward transaction and the given fragment is incoming, it will return false from isRemoving. If this is caused by a pop operation and the given fragment is being popped, it will return true from isRemoving.

This is called immediately after onBackStackChangeStarted for a forward transaction or for a non-predictive back pop. If this is caused by a predictive back gesture, it will be called after onBackStackChangeProgressed before the fragment moves to the final state.

Parameters

fragment

one of the fragments that is affected by the committed back stack change

pop

true, if this callback was triggered by a pop operation, false otherwise